<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include::header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-title">
						<h5>   </h5>
					</div>
					<div class="ibox-content">
						<form class="form-horizontal m-t layui-form" id="addMajorForm">
							<input id="id" name="id" type="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label">专业编号：</label>
								<div class="col-sm-8">
									<input id="majId" name="majId" class="form-control"
										type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">所属学院：</label>
								<div class="col-sm-8">
									<select id="colName" lay-filter="colName" class="layui-input-inline" name="colId">
										<option value="" selected="">请选择学院</option>
										<option th:each="college:${colleges}" th:value="${college.id}">[[${college.colName}]]</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">专业名称：</label>
								<div class="col-sm-8">
									<input id="majName" name="majName" class="form-control"
										type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">专业备注：</label>
								<div class="col-sm-8">
									<input id="majRemark" name="majRemark" class="form-control"
										type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">其他附加：</label>
								<div class="col-sm-8">
									<input id="majAppend" name="majAppend" class="form-control"
										type="text">
								</div>
							</div>
                            <div class="form-group">
                                <label class="col-sm-3 control-label">状态：</label>
                                <div class="col-sm-8">
                                        <input type="radio" name="majStatus" value="1" title="可用" checked />
                                     <input type="radio"  name="majStatus" value="0" title="不可用" />

                                </div>
                            </div>

							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" th:src="@{/static/js/admin/major/major_add.js}">
	</script>
</body>
<script>
    layui.use(['form'], function () {

    });
</script>
</html>
